package field_method5;

import field_method4.Circle;

public class PassObject {

    public void printAreas(Circle circle, int time) {
        System.out.println("半径\t\t" + "面积");
        for (int i = 1; i <= time; i++) {

            circle.radius = i;
            double s = circle.radius;

            System.out.println(circle.radius +
                    "\t\t" + s);


        }
    }
}